﻿Imports MyCommonFunctions
Public Class Form1

    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
        Dim objSEApp As SolidEdgeFramework.Application = Nothing


        Dim oMyFunctions As New MyCommonFunctions.Class1


        If oMyFunctions.oIsValidFileName("C:\_Work\Events\Dev Day SE University 2012\Beginner Tract - Working with Managed Files\SEEC Print Drafts\SEEC Print Drafts.sln") Then
            MessageBox.Show("Success")
        Else
            MessageBox.Show("Failed")
        End If


        If oMyFunctions.oConnectToSolidEdge(True, True, "NO") Then
            MessageBox.Show("Solid Edge was started from function in class library")
        Else
            MessageBox.Show("Failed to start Solid Edge from a function in class library")
        End If




    End Sub
End Class
